#!/usr/bin/python3
# -*- coding: utf-8 -*-

from views import index, login, register
from coreweb import add_routes
import os
import views_pan

def setup_routes(app):
    # app.router.add_get('/', index)
    # app.router.add_get('/login', login)
    # app.router.add_get('/register', register)
    # app.router.add_get('/login', login)
    add_routes(app, 'views')
    add_routes(app, 'viers_user')
    add_routes(app, 'views_blog')
    add_routes(app, 'views_clipboard')
    app.add_routes(views_pan.routes)
def setup_static_routes(app):
    app.router.add_static('/static/',path=os.path.join(os.path.dirname(__file__), 'static'), name='static')
